package org.jeecg.modules.jxc.inventorymanagement.commodityloss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.jxc.inventorymanagement.commodityloss.entity.JxcDamageLisjxcGoods;

import java.util.List;
import java.util.Map;

/**
 * @Description: jxc_damage_lisjxc_goods
 * @Author: jeecg-boot
 * @Date: 2021-12-21
 * @Version: V1.0
 */
public interface IJxcDamageLisjxcGoodsService extends IService<JxcDamageLisjxcGoods> {


    void saveDamage(String damageNumber, String damageListGoodsStr, List<JxcDamageLisjxcGoods>[] jxcDamageLisjxcGoodsList);
    /***
    * @description: 报损单查询接口
    * @param sTime
    * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
    * @exception
    */
    List<Map<String, Object>> queryList(String sTime);
    /***
    * @description: 报损商品查询接口
    * @param damageListId
    * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
    * @exception
    */
    List<Map<String, Object>> queryGoodsList(Integer damageListId);

    void saveDamage(String damageNumber, String damageListGoodsStr, JxcDamageLisjxcGoods[] jxcDamageLisjxcGoodsList,Integer userId);

}

